package com.stormrage.entity.learn.rep;

import java.io.Serializable;

/**
 * @Title: LeaBunchRep.java
 * @Package com.stormrage.entity.learn.rep
 * @Description: 班级 返回 类
 * @author www.stormragetech.com
 * @date 2016年4月13日
 * @version V1.0
 */
public class LeaBunchRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -5515546185713746012L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private String bunch;

	private String term;

	private String major;

	private String enterprise;

	private String excel;

	private Integer count;

	private Boolean upload;

	// ------------------------------- Fields -------------------------------

	public LeaBunchRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBunch() {
		return bunch;
	}

	public void setBunch(String bunch) {
		this.bunch = bunch;
	}

	public String getTerm() {
		return term;
	}

	public void setTerm(String term) {
		this.term = term;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}

	public String getExcel() {
		return excel;
	}

	public void setExcel(String excel) {
		this.excel = excel;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Boolean getUpload() {
		return upload;
	}

	public void setUpload(Boolean upload) {
		this.upload = upload;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaBunchRep instance(LeaBunchRep arg0, Integer seq, Integer count) {
		arg0.setSeq(seq);
		arg0.setCount(count);
		return arg0;
	}

	public static LeaBunchRep instance(LeaBunchRep arg0, Integer seq, Integer count, Integer upload) {
		arg0.setSeq(seq);
		arg0.setCount(count);
		if (null == upload || upload.equals(0))
			arg0.setUpload(true);
		if (upload.equals(1))
			arg0.setUpload(false);
		return arg0;
	}

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " bunch - " + bunch + " term - " + term + " major - " + major
				+ " enterprise - " + enterprise + " count - " + count;
	}

}
